#ifndef _CRESOURCEMANAGER_H
#define _CRESOURCEMANAGER_H

#include "CTexture.h"
#include "Global Variables.h"

#define MAX_PATH 1000

class CResourceManager
{
public:
	//----------------------------//
	//	Destructor for this class //
	//----------------------------//
	~CResourceManager();


	//----------------------//
	//	Enum : Image index	//
	//----------------------//
	enum IMAGE_INDEX { IMG_TILED = 0 ,
						IMG_ZERO = 1 ,
						IMG_ROCKY = 2 ,
						IMG_BUGKY = 3 ,
						IMG_STRIKE = 4 ,
						IMG_BURST = 5};

	//----------------------------------------------//
	// Public static methods for this class			//
	// Desc : To retreat the instance of this class //
	//----------------------------------------------//
	static CResourceManager*	GetInstance		( );


	//----------------------------------//
	//	Public methods for this class	//
	//----------------------------------//
	void		Init				( LPCTSTR DefineFile , CGraphic* pGraphic );

	//------------------------------------------//
	//	Public variables for this class			//
	//------------------------------------------//
	CTexture*				m_pListImage;
	ULONG					m_nListCount;
private:
	//--------------------------------------//
	//	Private Constructor for this class	//
	//	Note : we're using singleton here	//
	//--------------------------------------//
	CResourceManager();

	//------------------------------------------//
	//	Private Static variables for this class //
	//------------------------------------------//
	static CResourceManager*	m_pResourceManager;

};



#endif